package Demo1;

public class Score {
    private String stuNo,stuName,courseNo,courseName;
    private double score;
    public Score(String stuNo,String stuName,String courseNo,String courseName,double score){
        this.stuNo=stuNo;
        this.stuName=stuName;
        this.courseNo=courseNo;
        this.courseName=courseName;
        this.score=score;
    }

    @Override
    public String toString() {
        return "Score{" +
                "stuNo='" + stuNo + '\'' +
                ", stuName='" + stuName + '\'' +
                ", courseNo='" + courseNo + '\'' +
                ", courseName='" + courseName + '\'' +
                ", score=" + score +
                '}';
    }
}
